/* * * * * * * * * * * * * * * * * * * * * * * *  init * * * * * * * * * * * * * * * * * */
html, body, ul, li, ol, dl, dd, dt, p, h1, h2, h3, h4, h5, h6, form, fieldset, legend, img {
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
    color: inherit;
    display: inline;
    vertical-align: top;
}
button {
    font-size: 20px;
    display: inline-block;
    vertical-align: top;
    border-width: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0); /* Compatible ie9 */
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    cursor: pointer;
}
body {
    font-family: "微软雅黑";
    font-size: 0;
    line-height: 1;
}
img {border: none; /* Compatible ie9 */}
p {text-indent: 2em;}
ul {list-style: none;}

::-webkit-scrollbar {display: none; /* 去掉所有滚动条，也可以去掉单独的 */}


/* * * * * * * * * * * * * * * * * * * * * * * *  main * * * * * * * * * * * * * * * * * */
/* body */
.wrapper {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 16rem;
    height: 100vh;
    background-image: url(../images/bg.webp); 
    background-size: 16rem 100vh;
    overflow: hidden;
}

/* header */
.header {height: 2rem;}

/* status */
.status {
    display: inline-block;
    vertical-align: top;
    width: 4.3rem;
    height: 3.4rem;
} 
.status--5 {margin: 0 1.4rem 0 3rem;}
.status__info--big {
    display: inline-block;
    vertical-align: top;
    border-radius: 2px;
    background-image: url(../images/state_border_grey.png);
    background-size: 2rem 3.4rem;
    width: 2rem;
    height: 3.4rem;
    color: white;
    text-align: center;
}
.status__name, .status__chips--Leftover{
    padding: 0 0.2rem;
    width: 1.6rem;
    height: 0.7rem;
    font-size: 0.5rem;
    line-height: 0.7rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.status__dealer{
    display: none;
    width: 1rem;
}
.status__dealer--hook{
    display: block;
}
.status__info--small{
    display: inline-block;
    vertical-align: top;
    margin: 0.1rem 0.2rem;
    width: 1.9rem;
    color: white;
}
.status__avatar {
    width: 1.9rem;
    height: 1.9rem;
}
.status__resume{
    display: none;
    margin-bottom: 0.3rem;
    border-radius: 0.3rem;
    padding: 0 0.2rem;
    width: 1.5rem;
    height: 0.6rem;
    font-size: 0.5rem;
    line-height: 0.6rem;
    text-align: center;
}
.status__chips--invested {
    display: none;
    position: relative; 
    z-index: 100;/* 用于钱很多时，不被其它挡住 */
    height: 0.6rem;
    border-radius: 0.2rem;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 0rem 0.1rem;
    white-space:nowrap;
}
.status__icon {
    display: inline-block;
    vertical-align: bottom;
    margin-right: 0.1rem;
    width: 0.5rem;
    height: 0.6rem;
}
.status__number {
    display: inline-block;
    vertical-align: bottom;
    font-size: 0.5rem;
    line-height: 0.6rem;
    z-index: 1000;
}
/* 下注状态 */
.status__info--bet .status__bet, .status__info--bet .status__chips--invested {display: inline-block;}
.status__info--bet .status__info--big{background-image: url(../images/state_border_cornflowerblue.png);}
.status__bet {background-color: cornflowerblue;}
/* 跟注状态 */
.status__info--call .status__call, .status__info--call .status__chips--invested {display: inline-block;}
.status__info--call .status__info--big{background-image: url(../images/state_border_cornflowerblue.png);}
.status__call {background-color: cornflowerblue;}
/* 加注状态 */
.status__info--raise .status__raise, .status__info--raise .status__chips--invested {display: inline-block;}
.status__info--raise .status__info--big{background-image: url(../images/state_border_yellowgreen.png);}
.status__raise {background-color: yellowgreen;}
/* 弃牌状态 */
.status__info--fold .status__fold{display: block;}
.status__info--fold .status__info--big{background-image: url(../images/state_border_grey.png);}
.status__info--fold {opacity: 0.4;}
.status__fold {background-color: #333;}
/* All in状态 */
.status__info--all-in .status__all-in, .status__info--all-in .status__chips--invested {display: block;}
.status__info--all-in .status__info--big{background-image: url(../images/state_border_yellowgreen.png);}
.status__all-in {background-color: yellowgreen;}
/* 免费状态 */
.status__info--free .status__free {display: block;}
.status__info--free .status__info--big{background-image: url(../images/state_border_cornflowerblue.png);}
.status__free {background-color:  cornflowerblue;}
/* 等待状态(有人新进来) */
.status__info--wait .status__wait{display: block;}
.status__info--wait .status__info--big{background-image: url(../images/state_border_grey.png);}
.status__info--wait {opacity: 0.4;}
.status__wait {background-color: #333;}

/* my */
.my__items--raise{
    display: none;
    position: absolute;
    z-index: 10000;
    top: 70px;
    margin: 0 auto;
    width: 16rem;
    text-align: center; 
}
.my__item--raise {
    display: inline-block;
    vertical-align: top;
    margin: 0 0.65rem;
    color: white;
    text-align: center;
}
.my__button--raise {
    background-image: url(../images/btn-yellowgreen.png);
    background-size: 1.6rem 1.4rem;
    width: 1.6rem;
    height: 1.4rem;
    font-size: 0.6rem;
    line-height: 1.4rem;
}
.my__number--raise {
    margin-top: 0.25rem;
    border-radius: 0.1rem;
    background-color: rgba(0, 0, 0, 0.4);
    font-size: 0.5rem;
}
.my__buttons{
    margin: 0.5rem 0 1rem 0;
    text-align: center;
}
.my__button{
    margin:0 0.6rem;
    background-size: 1.8rem 1.6rem;
    background-position:center;
    width: 1.8rem;
    height: 1.6rem;
    color: white;
    font-size: 0.5rem;
    font-weight: 700;
    line-height: 1.6rem;
}
.my__text--raise {margin-top: 0.2rem;}
.my__fold {background-image: url(../images/btn-grey.png);}
.my__free, .my__call{background-image: url(../images/btn-blue.png);}
.my__raise, .my__all-in{background-image: url(../images/btn-yellowgreen.png);}
.my__the-flop{
    display: inline-block;
    vertical-align: top;
    padding-top: 0.5rem;
    width: 7rem;
    text-align: center;
}
.my__img--the-flop {
    display: inline-block;
    vertical-align: top;
    width: 1.8rem;
}
/*.my__img--the-flop-1{transform: rotate(-30deg);}*/
/*.my__img--the-flop-2{transform: rotate(30deg);}*/

/* top */
.top {flex: 1;}
.middle{
    flex: 3;
    position: relative;
}
.middle .status{flex: 1;}
/* left */
.left {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1rem;
    width: 4.3rem;
}

/* center */
.center {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 3rem;
}
.center__pot{
    flex: 1;
    margin: 0 auto;
    color: white;
}
.center__pot--text{
    padding: 0.25rem 0.7rem;
    border-radius: 0.1rem;
    background-color:rgba(0, 0, 0, 0.4);
    font-size: 0.7rem;
    height: 2rem;

}
.center__items--img{
    flex: 1;
    margin-top: 2.5rem;
    width: 10rem;
    text-align: left;
}
.center__item--img{
    display: inline-block;
    width: 1.8rem;
    margin: 0rem;
}
.center__img{
    width: 100%;
}
.center__items--text{
    flex: 1;
    margin-top: 0rem;
    text-align: center;
}
.center__item--text{
    margin: 0 auto;
    width: 7rem;
    color: white;
    font-size: 0.5rem;
    line-height: 0.8rem;
    background-color:rgba(0, 0, 0, 0.5);
}
.center__item--room-number{
    border-top-right-radius: 0.2rem;
    border-top-left-radius: 0.2rem;
    margin-top: 1rem;
}
.center__item--ante{
    border-bottom-right-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
}

/* right  */
.right {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 1rem;
    bottom: 0;
    width: 4.3rem;
}

/* bottom */
.bottom {
    flex: 1;
    position: relative;
}

/* footer */
.footer{height: 2rem;}
